package vno.sci.event
{
	import flash.events.Event;
	
	public final class ToolbarEvent extends Event
	{
		public static const CLICK:String = "TOOLBAR_CLICK";
		public var id:String;
		/**
		 * <code>
		 * super(type, bubbles, cancelable);
			this.id = id;
		   </code> 
		 */		
		public function ToolbarEvent(id:String, type:String = ToolbarEvent.CLICK, bubbles:Boolean=false, cancelable:Boolean=false) 
		{
			super(type, bubbles, cancelable);
			this.id = id;
		}
		
		override public function clone():Event
		{
			return new ToolbarEvent(id,super.type,super.bubbles, super.cancelable);
		}
		
		override public function toString():String
		{
			return formatToString("ToolbarEvent", super.type, super.bubbles, super.cancelable, super.eventPhase);
		}
	}
}